Class Condition

java.lang.Object
edu.claflin.finder.logic.Condition
Direct Known Subclasses:
BipartiteCondition, CliqueCondition, DirectedCliqueCondition

public abstract class Condition extends Object
Represents a graph condition in memory. Subgraphs are described based on Condition objects. Simple graphs can be represented by a single condition or several condition objects wrapped within a large condition.
Version:
1.0.1 May 22, 2015
Author:
Charles Allen Schultz II
  • Constructor Details

    • Condition

      public Condition()
  • Method Details

    • satisfies

      public abstract boolean satisfies(Graph existingGraph)
      Used to test if the supplied graph is within the bounds of the condition's implementation.
      Parameters:
      existingGraph - the Graph to test if the Condition applies.
      Returns:
      a boolean indicating if the requirements satisfy the condition.